package com.fram.bean.sys;

import lombok.Data;

@Data
public class PageBean<T> {

	private Boolean count;

	/** 当前页 */
	private Integer pageNum;

	/** 每页显示的数量 */
	private Integer pageSize;

	private T param;

	public Integer getPageNum() {
		return pageNum == null ? 1 : pageNum;
	}

	public Integer getPageSize() {
		return pageSize == null ? 10 : pageSize;
	}

	public Boolean getCount() {
		return count == null ? true : count;
	}

}
